/**
 * Created by bing on 2019/4/9.
 */
package com.wxb.mongo.dao;

import com.wxb.mongo.vo.Customer;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * describe:
 *
 * @author : wxbing000@gmail.com
 * @version : v1.0
 * @date : 2019-04-09 16:47
 */
public interface CustomerRepository extends MongoRepository<Customer, String> {

	Customer findByFirstName(String firstName);

	List<Customer> findByLastName(String lastName);

}

